package com.example.extra.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author lixiang
 */
@Data
@Schema(description = "登录请求参数")
public class LoginRequestDTO {

    @NotBlank
    @Schema(description = "用户名", example = "admin")
    private String username;

    @NotBlank
    @Schema(description = "密码", example = "123456")
    private String password;


    @NotBlank
    @Schema(description = "验证码")
    private String code;

    @NotBlank
    @Schema(description = "是否强制登录")
    private Boolean force;

    @NotBlank
    @Schema(description = "应用名称")
    private String appName;

    @NotBlank
    @Schema(description = "设备唯一标识")
    private String uuid;
}
